AL SET SOUND MIN DISTANCE

This function will set the minimum distance from the sound before attenuation is applied to it. Attenuation is applied in the space between the minimum distance and the maximum distance, where the maximum is the furtherest point from which you can still hear the sound.

  Syntax
AL SET SOUND MIN DISTANCE soundNumber, distance
  Parameters
soundNumber
Integer
The ID you want to use to create this sound.
distance
Float
The minimum distance from the sound where attenuation will begin. Default value is 0.0.

  Returns

This function does not return a value.

  See also

DarkAL Functions Menu